import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
//新年活动
const newYearActivities=[{
    path: '/list',
    name: 'index',
    component: () => import('@/page/newYearActivities/index'),  
},{
  path: '/luckDraw',
  name: 'luckDraw',
  component: () => import('@/page/newYearActivities/luckDraw'),  
},
{
  path: '/',
  name: 'active',
  component: () => import('@/page/newYearActivities/activities'),  
},
{
  path: '/reward',
  name: 'rewardList',
  component: () => import('@/page/newYearActivities/reward/rewardList'),  
}]

export default new Router({
   mode: 'history', // require service support
  routes:newYearActivities
})

